package com.spic.business.blast.service;

import com.spic.business.blast.domain.BlastDeploymentWeigh;
import com.spic.business.blast.domain.vo.StatisticsWeighInfoVo;
import com.spic.common.core.web.domain.AjaxResult;

import java.util.List;

/**
 * 称重信息Service接口
 *
 * @author spic
 * @date 2022-03-09
 */
public interface IBlastDeploymentWeighService
{
    /**
     * 查询称重信息
     *
     * @param id 称重信息主键
     * @return 称重信息
     */
    public BlastDeploymentWeigh selectBlastDeploymentWeighById(String id);

    /**
     * 查询称重信息列表
     *
     * @param blastDeploymentWeigh 称重信息
     * @return 称重信息集合
     */
    public List<BlastDeploymentWeigh> selectBlastDeploymentWeighList(BlastDeploymentWeigh blastDeploymentWeigh);
    //统计
    public List<StatisticsWeighInfoVo> selectstatisticsWeighInfo(BlastDeploymentWeigh blastDeploymentWeigh);

    /**
     * 新增称重信息
     *
     * @param blastDeploymentWeigh 称重信息
     * @return 结果
     */
    public AjaxResult insertBlastDeploymentWeigh(BlastDeploymentWeigh blastDeploymentWeigh);

    /**
     * 修改称重信息
     *
     * @param blastDeploymentWeigh 称重信息
     * @return 结果
     */
    public int updateBlastDeploymentWeigh(BlastDeploymentWeigh blastDeploymentWeigh);

    /**
     * 批量删除称重信息
     *
     * @param ids 需要删除的称重信息主键集合
     * @return 结果
     */
    public int deleteBlastDeploymentWeighByIds(String[] ids);

    /**
     * 删除称重信息信息
     *
     * @param id 称重信息主键
     * @return 结果
     */
    public int deleteBlastDeploymentWeighById(String id);

    BlastDeploymentWeigh getWeighInfo(BlastDeploymentWeigh blastDeploymentWeigh);

    String getWeighAlarm();
}
